<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../base.jsp"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
</head>
<body>
<div>
	<form method="post" action="#">
 <input type="hidden" name="contractProductId" value="${list.contractProductId}">
		<div id="menubar">
			<div id="middleMenubar">
				<div id="innerMenubar">
					<div id="navMenubar">
						<ul>
							<li id="save"><a href="#" onclick="formSubmit('${pageContext.request.contextPath}/updateContractPc.action','_self');">确定</a></li>
							<li id="back"><a href="formSubmit('${pageContext.request.contextPath}/selectPC.action">返回</a></li>
						</ul>
					</div>
				</div>
			</div>
		</div>

		<div class="textbox" id="centerTextbox">

			<div class="textbox-header">
				<div class="textbox-inner-header">
					<div class="textbox-title">
						修改货物信息
					</div>
				</div>
			</div>
			<div>
				<div>
					<table class="commonTable" cellspacing="1">

						<tr>

							<td class="columnTitle_mustbe">厂家名称：</td>
							<td class="tableContent">
								<select name="factoryId">
									<c:forEach items="${cc}" var="c">
										<c:if test="${c.factoryId == list.factoryId}">
										<option value="${c.factoryId}">${c.fullName}</option>
										</c:if>
										<c:if test="${c.factoryId != list.factoryId}">
											<option value="${c.factoryId}">${c.fullName}</option>
										</c:if>
									</c:forEach>
								</select>
							</td>
							<td class="columnTitle_mustbe">货号：</td>
							<td class="tableContent"><input type="text" name="productNo" value="${list.productNo}"/></td>
						</tr>
						<tr>
							<td class="columnTitle_mustbe">货物照片：</td>
							<td class="tableContent"><input type="text" name="productImage" value="${list.productImage}"/></td>

						</tr>
						<tr>
							<td class="columnTitle_mustbe">数量：</td>
							<td class="tableContent"><input type="text" name="cnumber" value="${list.cnumber}"/></td>
							<td class="columnTitle_mustbe">包装单位：</td>
							<td class="tableContent">
								<input type="text" name="packingUnit" value="${list.packingUnit}"/>
								</td>
						</tr>
						<tr>
							<td class="columnTitle_mustbe">装率：</td>
							<td class="tableContent"><input type="text" name="loadingRate" value="${list.loadingRate}"/></td>
							<td class="columnTitle_mustbe">箱数：</td>
							<td class="tableContent"><input type="text" name="boxNum" value="${list.boxNum}"/></td>
						</tr>
						<tr>
							<td class="columnTitle_mustbe">单价：</td>
							<td class="tableContent"><input type="text" name="price" value="${list.price}"/></td>
							<td class="columnTitle_mustbe">排序号：</td>
							<td class="tableContent"><input type="text" name="orderNo" value="${list.orderNo}"/></td>
						</tr>
						<tr>
							<
							<td class="columnTitle_mustbe">货物描述：</td>
							<td class="tableContent"><textarea name="productDesc" style="height:120px;">${list.productDesc}</textarea>
						</tr>
					</table>
				</div>
			</div>
		</div>
	</form>
</div>
</body>
</html>

